.login-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: url('../imgs/indexbackground.png') no-repeat center center;
    background-size: cover;
    transform: scale(1.1);
    animation: zoomBackground 20s infinite alternate ease-in-out;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(28, 28, 28, 0.75) 0%,
        rgba(45, 45, 45, 0.65) 100%
    );
    backdrop-filter: blur(1px);
}

.login-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 40px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.8s ease-out;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h1 {
    color: #ffffff;
    font-size: 2.5em;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 15px;
}

.login-header p {
    color: #e0e0e0;
    font-size: 1.1em;
    letter-spacing: 3px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.1em;
    letter-spacing: 1px;
}

.form-group input:focus {
    outline: none;
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1em;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group input:valid + label {
    top: -5px;
    font-size: 0.9em;
    color: #ffffff;
}

.form-group .line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.form-group .line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ffffff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.form-group input:focus ~ .line::after {
    transform: scaleX(1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.remember-me {
    display: flex;
    align-items: center;
    color: #e0e0e0;
    cursor: pointer;
}

.remember-me input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.remember-me input:checked + .checkmark {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
}

.remember-me input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1a1a1a;
    font-size: 12px;
}

.forgot-password {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #ffffff;
}

.login-button {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    color: #ffffff;
    font-size: 1.1em;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.login-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.register-link {
    text-align: center;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.register-link a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 5px;
    position: relative;
}

.register-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ffffff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.register-link a:hover::after {
    transform: scaleX(1);
}

.social-login {
    text-align: center;
}

.social-login p {
    color: #e0e0e0;
    margin-bottom: 15px;
    position: relative;
}

.social-login p::before,
.social-login p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.social-login p::before {
    left: 0;
}

.social-login p::after {
    right: 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.social-btn .icon {
    font-size: 0.9em;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomBackground {
    0% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1.2);
    }
}

@media (max-width: 768px) {
    .login-content {
        padding: 30px 20px;
    }

    .login-header h1 {
        font-size: 2em;
        letter-spacing: 6px;
    }

    .social-login p::before,
    .social-login p::after {
        width: 40px;
    }
} 